package com.tidc.commonality.fallbackFactory;

import com.tidc.commonality.api.StudentFoundApi;
import com.tidc.commonality.ov.UserOV;
import com.tidc.commonality.pojo.Matchs;
import com.tidc.commonality.pojo.Works;
import feign.hystrix.FallbackFactory;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassNmae StudentFoundProviderFallback
 * @Description TODO
 * @Author 冯涛滔
 **/
public class StudentFoundProviderFallback implements FallbackFactory<StudentFoundApi> {


	@Override
	public StudentFoundApi create(Throwable throwable) {
		return new StudentFoundApi() {
			@Override
			public UserOV foundWorks(Works works, String toekn) {
				return null;
			}

			@Override
			public UserOV putWorks(Works works, String token) {
				return null;
			}

			@Override
			public UserOV addMenber(String token, String email, int id) {
				return null;
			}

			@Override
			public UserOV foundMatch(String token, Matchs matchs) {
				return null;
			}

			@Override
			public UserOV addTeacher(String token, String email, int id) {
				return null;
			}

			@Override
			public UserOV putMatch(String token, Matchs matchs) {
				return null;
			}
		};
	}
}
